package com.cameron.ucenter.client;

import com.cameron.entity.CourseVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * @author Tim Hooper
 * @version 1.0
 * @time 2023/01/15/14:37
 */
@FeignClient("service-edu")
public interface CourseClient {

    @GetMapping("/service/edu-collect/collectList/{memberId}")
    List<CourseVo> getCollectListByMemberId(@PathVariable("memberId") String memberId);
}
